﻿namespace AgileZen.Models
{
    using System;
    using System.Runtime.Serialization;

    [DataContract(Name = "metrics")]
    public class Metrics : AgileZenModel
    {
        [DataMember(Name = "cycleTime", Order = 0)]
        public TimeSpan CycleTime { get; set; }

        [DataMember(Name = "leadTime", Order = 1)]
        public TimeSpan LeadTime { get; set; }

        [DataMember(Name = "workTime", Order = 2)]
        public TimeSpan WorkTime { get; set; }

        [DataMember(Name = "waitTime", Order = 3)]
        public TimeSpan WaitTime { get; set; }

        [DataMember(Name = "efficiency", Order = 4)]
        public double Efficiency { get; set; }
    }
}
